package com.adrian.misc.fractal;

import com.adrian.misc.fractal.color.ColorMap;


public class FractalParameters {
	AreaMapping fAreaMap;
	ColorMap colMap;
	Integer iterations = 100;
	Boolean adaptive = false;
	Boolean innerColor = false;

	public FractalParameters (AreaMapping pArea, ColorMap colMap, int itr) {
		fAreaMap = pArea;
		this.colMap = colMap;
		iterations = itr;
	}
	public FractalParameters (FractalParameters fp) {
		fAreaMap = new AreaMapping (fp.fAreaMap);
		this.colMap = fp.colMap;
		iterations = fp.iterations.intValue();
		adaptive = fp.adaptive;
		innerColor= fp.innerColor;
	}
	@Override
	public String toString() {
		return "Fractal Param = Area{" + fAreaMap +"}, Color{"+colMap.toString()+"} iter{"+iterations+"}";
	}
}
